home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / crate.gsh < prev    next >
Text File  |  2000-08-22  |  841b  |  32 lines

  1. // defines Crate
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_CRATE_GSH
  8. #define INCLUDED_CRATE_GSH
  9.  
  10. #include "crate_frag.gsh"
  11.  
  12. ////////////////////////////////////////////////////////////////////////////////////
  13.  
  14. shape Shp_Crate
  15. {
  16.        file "objects\crate.rif"
  17.        name "crate"
  18. }
  19.  
  20. role Rol_Crate : Rol_PlacedObject
  21. {
  22.     shape            Shp_Crate
  23.     identifier        "crate"
  24.     destructibility Frg_Crate
  25.     ai                blocker
  26. }
  27.  
  28. ////////////////////////////////////////////////////////////////////////////////////
  29.  
  30. // end wrapper - for preventing multiple or recursive inclusions
  31. #endif // !INCLUDED_CRATE_GSH
  32.